import request from '@/utils/request'

// 查询术中清点记录最外层 记录第几次时间等列表
export function listSurgurydevice(query) {
  return request({
    url: '/manage/surgurydevice/list',
    method: 'get',
    params: query
  })
}

// 查询术中清点记录最外层 记录第几次时间等详细
export function getSurgurydevice(surgeryDeviceId) {
  return request({
    url: '/manage/surgurydevice/' + surgeryDeviceId,
    method: 'get'
  })
}

// 新增术中清点记录最外层 记录第几次时间等
export function addSurgurydevice(data) {
  return request({
    url: '/manage/surgurydevice',
    method: 'post',
    data: data
  })
}

// 修改术中清点记录最外层 记录第几次时间等
export function updateSurgurydevice(data) {
  return request({
    url: '/manage/surgurydevice',
    method: 'put',
    data: data
  })
}

// 删除术中清点记录最外层 记录第几次时间等
export function delSurgurydevice(surgeryDeviceId) {
  return request({
    url: '/manage/surgurydevice/' + surgeryDeviceId,
    method: 'delete'
  })
}
